\documentclass[12pt, landscape]{article}
\title{Rule Output}
\date{\today}
\usepackage[a0paper, vmargin=2cm, hmargin=2cm]{geometry}
\usepackage{lingmacros}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usetikzlibrary{arrows,positioning,shapes}
\tikzset{
	%Define standard arrow tip
	>=stealth',
	%Define DS link style
	link/.style={
		<-,
		thick,
		dotted,},
	%Define DS token style
	token/.style={
		rectangle split,
		rectangle split parts=2,}
}
\usepackage{gb4e}
\begin{document}
\tikzstyle{every picture}+=[remember picture]
\maketitle

\begin{enumerate}
\item Rules for DS Pattern: [NN $<$fs reltype=k2$>$] \textbf{[VM $<$fs $>$]}
\begin{enumerate}
\begin{item}
\begin{samepage}
Rule: [NN $<$fs reltype=k2$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP-Pred NP V]; count=6\\
Occurs in: Dat-Goal-PS-1, Local-Scrambling-PS-1, K2Lower-Argument-PS-1, Transitive-Verbs-PS-2, Transitive-Verbs-PS-1, Transitive-Verbs-PS-3
\begin{itemize}
\begin{item}[]
Example id='Dat-Goal-PS-1'
\end{item}
\begin{item}[]
\shortex{7}{AwiPZa&ne&kala&monA&ko&wohaPZA&xiyA}{Atif&Erg&yesterday&Mona&Dat&present&give.Pfv.MSg}{Atif gave a present to Mona yesterday.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ne){ne\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](kala){kala\nodepart{second}NN};
]
]
[.\node{VP-Pred};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](monA){monA\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](wohaPZA){wohaPZA\nodepart{second}NN};
]
]
[.\node{V};
\node[token](xiyA){xiyA\nodepart{second}VM};
]
]
]
]
]
\path[link] (AwiPZa.south) edge[bend right=72] node[pos=0.16,fill=white,sloped] {\scriptsize {k1}} (xiyA);
\path[link] (ne.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (AwiPZa);
\path[link] (kala.south) edge[bend right=56] node[pos=0.25,fill=white,sloped] {\scriptsize {k7t}} (xiyA);
\path[link] (monA.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k4}} (xiyA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (monA);
\path[link] (wohaPZA.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {k2}} (xiyA);
\node[below=of xiyA](root){\bf root};
\path[link] (xiyA) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\begin{item}
\begin{samepage}
Rule: [NN $<$fs reltype=k2$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP-Pred NP-P V]; count=1\\
Occurs in: K2Lower-Argument-PS-2
\begin{itemize}
\begin{item}[]
Example id='K2Lower-Argument-PS-2'
\end{item}
\begin{item}[]
\shortex{6}{AwiPZa&kiwAba&ko&uTA&rahA&hE}{Atif.M&book.f&Dat&lift&Prog.MSg&be.Prs.Sg}{Atif is picking up the book.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{VP};
[.\node{VP};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{VP-Pred};
[.\node{NP-P};
[.\node{NP};
[.\node{N};
\node[token](kiwAba){kiwAba\nodepart{second}NN};
]
]
[.\node{P};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{V};
\node[token](uTA){uTA\nodepart{second}VM};
]
]
]
[.\node{V-Aux};
\node[token](rahA){rahA\nodepart{second}VAUX};
]
]
[.\node{V-Aux};
\node[token](hE){hE\nodepart{second}VAUX};
]
]
\path[link] (AwiPZa.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k1}} (uTA);
\path[link] (kiwAba.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {k2}} (uTA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (kiwAba);
\node[below=of uTA](root){\bf root};
\path[link] (uTA) edge (root);
\path[link] (rahA.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_vaux}} (uTA);
\path[link] (hE.south) edge[bend left=40] node[pos=0.40,fill=white,sloped] {\scriptsize {lwg\_\_cont}} (uTA);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\end{enumerate}
\item Rules for DS Pattern: [NNP $<$fs reltype=k1$>$] \textbf{[VM $<$fs $>$]}
\begin{enumerate}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=k1$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP NP VP-Pred]; count=5\\
Occurs in: K2Lower-Argument-PS-1, K2Lower-Argument-PS-2, Transitive-Verbs-PS-1, Negation-PS-2, Unergatives-PS-1
\begin{itemize}
\begin{item}[]
Example id='K2Lower-Argument-PS-1'
\end{item}
\begin{item}[]
\shortex{5}{AwiPZa&kiwAba&uTA&rahA&hE}{Atif.M&book.f&lift&Prog.MSg&be.Prs.Sg}{Atif is picking up (a/the) book.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{VP};
[.\node{VP};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](kiwAba){kiwAba\nodepart{second}NN};
]
]
[.\node{V};
\node[token](uTA){uTA\nodepart{second}VM};
]
]
]
[.\node{V-Aux};
\node[token](rahA){rahA\nodepart{second}VAUX};
]
]
[.\node{V-Aux};
\node[token](hE){hE\nodepart{second}VAUX};
]
]
\path[link] (AwiPZa.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {k1}} (uTA);
\path[link] (kiwAba.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {k2}} (uTA);
\node[below=of uTA](root){\bf root};
\path[link] (uTA) edge (root);
\path[link] (rahA.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_vaux}} (uTA);
\path[link] (hE.south) edge[bend left=40] node[pos=0.40,fill=white,sloped] {\scriptsize {lwg\_\_cont}} (uTA);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=k1$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP NP-P VP-Pred]; count=6\\
Occurs in: Dat-Goal-PS-1, Local-Scrambling-PS-1, Local-Scrambling-PS-5, Transitive-Verbs-PS-2, Transitive-Verbs-PS-3, Negation-PS-1
\begin{itemize}
\begin{item}[]
Example id='Dat-Goal-PS-1'
\end{item}
\begin{item}[]
\shortex{7}{AwiPZa&ne&kala&monA&ko&wohaPZA&xiyA}{Atif&Erg&yesterday&Mona&Dat&present&give.Pfv.MSg}{Atif gave a present to Mona yesterday.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ne){ne\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](kala){kala\nodepart{second}NN};
]
]
[.\node{VP-Pred};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](monA){monA\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](wohaPZA){wohaPZA\nodepart{second}NN};
]
]
[.\node{V};
\node[token](xiyA){xiyA\nodepart{second}VM};
]
]
]
]
]
\path[link] (AwiPZa.south) edge[bend right=72] node[pos=0.16,fill=white,sloped] {\scriptsize {k1}} (xiyA);
\path[link] (ne.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (AwiPZa);
\path[link] (kala.south) edge[bend right=56] node[pos=0.25,fill=white,sloped] {\scriptsize {k7t}} (xiyA);
\path[link] (monA.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k4}} (xiyA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (monA);
\path[link] (wohaPZA.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {k2}} (xiyA);
\node[below=of xiyA](root){\bf root};
\path[link] (xiyA) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\end{enumerate}
\item Rules for DS Pattern: [NNP $<$fs reltype=k4$>$] \textbf{[VM $<$fs $>$]}
\begin{enumerate}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=k4$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP-Pred NP-P V]; count=1\\
Occurs in: Negation-PS-2
\begin{itemize}
\begin{item}[]
Example id='Negation-PS-2'
\end{item}
\begin{item}[]
\shortex{7}{AwiPZa&monA&ko&xiKA&nahIM&rahA&WA}{Atif&Erg&Mona&Acc&see&neg&Prog}{Atif wasn't looking at Mona.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{VP};
[.\node{VP};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{VP-Pred};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](monA){monA\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{V};
[.\node{V};
\node[token](xiKA){xiKA\nodepart{second}VM};
]
[.\node{Neg};
\node[token](nahIM){nahIM\nodepart{second}NEG};
]
]
]
]
[.\node{V-Aux};
\node[token](rahA){rahA\nodepart{second}VAUX};
]
]
[.\node{V-Aux};
\node[token](WA){WA\nodepart{second}VAUX};
]
]
\path[link] (AwiPZa.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k1}} (xiKA);
\path[link] (monA.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {k4}} (xiKA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (monA);
\node[below=of xiKA](root){\bf root};
\path[link] (xiKA) edge (root);
\path[link] (nahIM.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_neg}} (xiKA);
\path[link] (rahA.south) edge[bend left=40] node[pos=0.40,fill=white,sloped] {\scriptsize {lwg\_\_vaux}} (xiKA);
\path[link] (WA.south) edge[bend left=48] node[pos=0.30,fill=white,sloped] {\scriptsize {lwg\_\_cont}} (xiKA);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=k4$>$] \textbf{[VM $<$fs $>$]} $\rightarrow$ [VP-Pred NP-P VP-Pred]; count=1\\
Occurs in: Dat-Goal-PS-1
\begin{itemize}
\begin{item}[]
Example id='Dat-Goal-PS-1'
\end{item}
\begin{item}[]
\shortex{7}{AwiPZa&ne&kala&monA&ko&wohaPZA&xiyA}{Atif&Erg&yesterday&Mona&Dat&present&give.Pfv.MSg}{Atif gave a present to Mona yesterday.}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{VP};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](AwiPZa){AwiPZa\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ne){ne\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](kala){kala\nodepart{second}NN};
]
]
[.\node{VP-Pred};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](monA){monA\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](ko){ko\nodepart{second}PSP};
]
]
[.\node{VP-Pred};
[.\node{NP};
[.\node{N};
\node[token](wohaPZA){wohaPZA\nodepart{second}NN};
]
]
[.\node{V};
\node[token](xiyA){xiyA\nodepart{second}VM};
]
]
]
]
]
\path[link] (AwiPZa.south) edge[bend right=72] node[pos=0.16,fill=white,sloped] {\scriptsize {k1}} (xiyA);
\path[link] (ne.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (AwiPZa);
\path[link] (kala.south) edge[bend right=56] node[pos=0.25,fill=white,sloped] {\scriptsize {k7t}} (xiyA);
\path[link] (monA.south) edge[bend right=48] node[pos=0.30,fill=white,sloped] {\scriptsize {k4}} (xiyA);
\path[link] (ko.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (monA);
\path[link] (wohaPZA.south) edge[bend right=32] node[pos=0.50,fill=white,sloped] {\scriptsize {k2}} (xiyA);
\node[below=of xiyA](root){\bf root};
\path[link] (xiyA) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\end{enumerate}
\item Rules for DS Pattern: [NNP $<$fs reltype=r6$>$] \textbf{[NN $<$fs $>$]}
\begin{enumerate}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=r6$>$] \textbf{[NN $<$fs $>$]} $\rightarrow$ [NP NP-P NP]; count=1\\
Occurs in: Structure-of-NP-PS-3
\begin{itemize}
\begin{item}[]
Example id='Structure-of-NP-PS-3'
\end{item}
\begin{item}[]
\shortex{5}{rAma&kI&bacapana&kI&yAxeM}{Ram&Gen.f&childhood.M&Gen.f&memories.f}{Ram?s memories of childhood}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{NP};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](rAma){rAma\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](kI){kI\nodepart{second}PSP};
]
]
[.\node{NP};
[.\node{NP-P};
[.\node{NP};
[.\node{N};
\node[token](bacapana){bacapana\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](kI2){kI\nodepart{second}PSP};
]
]
[.\node{N};
\node[token](yAxeM){yAxeM\nodepart{second}NN};
]
]
]
\path[link] (rAma.south) edge[bend right=56] node[pos=0.25,fill=white,sloped] {\scriptsize {r6}} (yAxeM);
\path[link] (kI.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (rAma);
\path[link] (bacapana.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {r6}} (yAxeM);
\path[link] (kI2.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (bacapana);
\node[below=of yAxeM](root){\bf root};
\path[link] (yAxeM) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\begin{item}
\begin{samepage}
Rule: [NNP $<$fs reltype=r6$>$] \textbf{[NN $<$fs $>$]} $\rightarrow$ [NP NP-P N]; count=2\\
Occurs in: Structure-of-NP-PS-3, Structure-of-NP-PS-2
\begin{itemize}
\begin{item}[]
Example id='Structure-of-NP-PS-3'
\end{item}
\begin{item}[]
\shortex{5}{rAma&kI&bacapana&kI&yAxeM}{Ram&Gen.f&childhood.M&Gen.f&memories.f}{Ram?s memories of childhood}
\end{item}
\begin{item}[]
\begin{tikzpicture}[sibling distance=48pt, level distance=24pt]
\Tree
[.\node{NP};
[.\node{NP-P};
[.\node{NP};
[.\node{N-Prop};
\node[token](rAma){rAma\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](kI){kI\nodepart{second}PSP};
]
]
[.\node{NP};
[.\node{NP-P};
[.\node{NP};
[.\node{N};
\node[token](bacapana){bacapana\nodepart{second}NNP};
]
]
[.\node{P};
\node[token](kI2){kI\nodepart{second}PSP};
]
]
[.\node{N};
\node[token](yAxeM){yAxeM\nodepart{second}NN};
]
]
]
\path[link] (rAma.south) edge[bend right=56] node[pos=0.25,fill=white,sloped] {\scriptsize {r6}} (yAxeM);
\path[link] (kI.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (rAma);
\path[link] (bacapana.south) edge[bend right=40] node[pos=0.40,fill=white,sloped] {\scriptsize {r6}} (yAxeM);
\path[link] (kI2.south) edge[bend left=32] node[pos=0.50,fill=white,sloped] {\scriptsize {lwg\_\_psp}} (bacapana);
\node[below=of yAxeM](root){\bf root};
\path[link] (yAxeM) edge (root);
\end{tikzpicture}
\end{item}
\end{itemize}
\end{samepage}
\end{item}
\end{enumerate}
\end{enumerate}
\end{document}
